#ifndef _DS1302_
#define _Ds1302_

#include "reg52.h"
#include "intrins.h"

sbit SCK = P1^7;
sbit SDA = P2^3;
sbit RST = P1^3;


void Write_Ds1302(unsigned  char temp);
void Write_Ds1302_Byte( unsigned char address,unsigned char dat );     
unsigned char Read_Ds1302_Byte ( unsigned char address );


#endif